inherited EMailTemplateDlg: TEMailTemplateDlg
  Caption = #37038#20214#27169#26495
  ClientHeight = 503
  ClientWidth = 688
  Position = poMainFormCenter
  WindowState = wsMaximized
  ExplicitWidth = 696
  ExplicitHeight = 537
  PixelsPerInch = 96
  TextHeight = 15
  object pnl1: TPanel
    Left = 0
    Top = 0
    Width = 688
    Height = 46
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 0
    object btnOK: TBitBtn
      Left = 9
      Top = 8
      Width = 115
      Height = 29
      Caption = #30830#23450
      DoubleBuffered = True
      Kind = bkOK
      NumGlyphs = 2
      ParentDoubleBuffered = False
      TabOrder = 0
    end
    object btnCancle: TBitBtn
      Left = 128
      Top = 8
      Width = 115
      Height = 29
      Caption = #21462#28040
      DoubleBuffered = True
      Kind = bkCancel
      NumGlyphs = 2
      ParentDoubleBuffered = False
      TabOrder = 1
    end
  end
  object pnl2: TPanel
    Left = 329
    Top = 46
    Width = 359
    Height = 457
    Align = alClient
    BevelOuter = bvNone
    Caption = 'pnl2'
    TabOrder = 1
    object dbmmotemplate: TDBMemo
      AlignWithMargins = True
      Left = 3
      Top = 32
      Width = 353
      Height = 422
      Align = alClient
      DataField = 'MATE_CONTENT'
      DataSource = dsEMailTemplate
      ScrollBars = ssBoth
      TabOrder = 0
    end
    object dbedtTitle: TDBEdit
      AlignWithMargins = True
      Left = 3
      Top = 3
      Width = 353
      Height = 23
      Align = alTop
      DataField = 'MATE_TITEL'
      DataSource = dsEMailTemplate
      TabOrder = 1
    end
  end
  object pnl3: TPanel
    Left = 0
    Top = 46
    Width = 329
    Height = 457
    Align = alLeft
    BevelOuter = bvNone
    Caption = 'pnl3'
    TabOrder = 2
    object dbgrdh1: TDBGridEh
      AlignWithMargins = True
      Left = 3
      Top = 3
      Width = 323
      Height = 231
      Align = alClient
      DataGrouping.GroupLevels = <>
      DataSource = dsEMailTemplate
      EvenRowColor = clSilver
      Flat = False
      FooterColor = clWindow
      FooterFont.Charset = GB2312_CHARSET
      FooterFont.Color = clWindowText
      FooterFont.Height = -15
      FooterFont.Name = #23435#20307
      FooterFont.Style = []
      RowDetailPanel.Color = clBtnFace
      TabOrder = 0
      TitleFont.Charset = GB2312_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -15
      TitleFont.Name = #23435#20307
      TitleFont.Style = []
      Columns = <
        item
          EditButtons = <>
          FieldName = 'MATE_NAME'
          Footers = <>
          Title.Caption = #27169#26495#21517#31216
          Width = 123
        end
        item
          EditButtons = <>
          FieldName = 'MATE_STYLE'
          Footers = <>
          Title.Caption = #26684#24335'(0=text 1=html)'
          Width = 74
        end>
      object RowDetailData: TRowDetailPanelControlEh
      end
    end
    object lstVar: TListBox
      AlignWithMargins = True
      Left = 3
      Top = 240
      Width = 323
      Height = 214
      Align = alBottom
      ItemHeight = 15
      Items.Strings = (
        '{%'#22995#21517'%}           --'#24037#36164#26465#20869#30340#22995#21517
        '{%'#21457#25918#24180#24230'%}   --'#24037#36164#26465#30340#26159#26159#21738#24180#30340
        '{%'#21457#25918#26376#20221'%}   --'#24037#36164#26465#26159#21738#26376#30340
        '{%'#26085#26399'%}           --'#20026#24403#21069#26085#26399
        '{%'#22522#26412#24037#36164'%}'
        '{%'#23454#21457#24037#36164'%}'
        '{%A%}            '
        '{%B%}'
        '..'
        '{%Z%}')
      TabOrder = 1
    end
  end
  object adsEMailTemplate: TADODataSet
    Connection = DataM.conDB
    OnNewRecord = adsEMailTemplateNewRecord
    CommandText = 'select * from TB_MAILTEMPLATE where MATE_HASTEMPLATE=False'
    Parameters = <>
    Left = 160
    Top = 168
  end
  object dsEMailTemplate: TDataSource
    DataSet = adsEMailTemplate
    Left = 88
    Top = 176
  end
end
